#include "stdafx.h"

#include "AsioDtpManager.h"

namespace ftp
{

AsioDtpManager::AsioDtpManager(ba::io_service* ioService, int port)
	: m_ioService(ioService)
	, m_port(port)
	, m_acceptor(*ioService)
{
	
}

int AsioDtpManager::getPort()
{
	return m_port;
}

std::string AsioDtpManager::getIp()
{
	return "127.0.0.1";
}

void AsioDtpManager::acceptOutputDtp(std::auto_ptr<IDtpSource> dtpSource, IDtpObserver* dtpObserver)
{}

void AsioDtpManager::acceptInputDtp(std::auto_ptr<IDtpSource> dtpSync, IDtpObserver* dtpObserver)
{}

}